package sync.copy;

import model.Settings;
import platform.PlatformObjectFactory;

public class BoxSystemInfo {
	private long teamviewerID;
	private double boxVersion;
	private String operatingSystemName;
	private String operatingSystemVersion;
	private String hardwareInformation;

	public BoxSystemInfo() {
		initialize();
	}

	private void initialize() {
		this.boxVersion = Settings.VERSION;
		this.operatingSystemName = System.getProperty("os.name");
		this.operatingSystemVersion = System.getProperty("os.version");
		this.hardwareInformation = PlatformObjectFactory.getInstance().getHardwareInfoFetcher().fetchHardwareInfo();
		this.teamviewerID = new TeamViewerIDGrabber().getTeamViewerID();
	}

	public long getTeamviewerID() {
		return teamviewerID;
	}

	public double getBoxVersion() {
		return boxVersion;
	}

	public String getOperatingSystemName() {
		return operatingSystemName;
	}

	public String getOperatingSystemVersion() {
		return operatingSystemVersion;
	}

	public String getHardwareInformation() {
		return hardwareInformation;
	}

}
